﻿using System;
using System.Collections.Generic;
using System.Text;

namespace lib.type
{
    class Property
    {
        public enum TYPES { BOOL, INT, FLOAT, STRING, VECTOR };

        private TYPES type;
        private Object value;

        public Property(Object value)
        {
            this.type = TYPES.STRING;
            this.value = value.ToString();
        }

        public Property(TYPES type, LibObject value)
        {
            this.type = type;
            this.value = value;
        }

        public TYPES getType()
        {
            return this.type;
        }

        public void setType(TYPES type)
        {
            this.type = type;
        }

        public Object getValue()
        {
            return this.value;
        }

        public void setValue(Object value)
        {
            this.value = value;
        }
    }
}
